package com.cqnu.service;

import java.util.List;
import java.util.Map;


public interface IBaseService<T> {
	public List<T> find(Map<String, Object> map);

	public Long getTotal(Map<String, Object> map);

	public int update(T obj);

	public int add(T obj);

	public int delete(Integer id);
	
	public T getById(Integer id);
}
